package fr.charlott.core.repository;

import java.util.Date;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import fr.charlott.core.repository.model.Hotesse;
import fr.charlott.core.repository.model.Reunion;

public interface ReunionJpaRepository extends JpaRepository<Reunion, Long> {

    public Reunion findByDateAndHotesse(final Date date, final Hotesse hotesse);

    public List<Reunion> findByHotesse(final Hotesse hotesse);

}
